﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HikRcsService._631_Optical
{
    /// <summary>
    /// 631项目中光通信定义的功能码和海康RCS接口的对应关系
    /// </summary>
    public class OpticalFunCode
    {
        #region 光通信功能码
        //生成任务单
        public const string genAgvSchedulingTaskCode = "1";
        //继续执行任务
        public const string continueTaskCode = "2";
        //取消任务
        public const string cancelTaskCode = "3";
        //任务执行通知 上层服务
        public const string agvCallbackCode = "4";
        //查询任务状态 
        public const string queryTaskStatusCode = "5";
        //查询AGV状态 上层服务
        public const string queryAgvStatusCode = "6";
        //停止AGV 
        public const string stopRobotCode = "7";
        //恢复AGV
        public const string resumeRobotCode = "8";
        //料箱顺序出库
        public const string genCtuGroupTaskBatchCode = "9";
        //料箱取放回调
        public const string boxApplyPassCode = "10";
        //告警推送通知 上层服务
        public const string warnCallbackCode = "11";
        //校验料箱是否可入库 上层服务
        public const string applyReturnForValidCode = "12";
        //申请回库仓位 上层服务
        public const string applyReturnForBinCode = "13";
        //任务优先级设置
        public const string setTaskPriorityCode = "14";
        //货架与位置绑定、解绑 
        public const string bindPodAndBerthCode = "15";
        //货架与物料绑定、解绑
        public const string bindPodAndMatCode = "16";
        //位置禁用与启用 
        public const string lockPositionCode = "17";
        //地图位置信息同步 
        public const string syncMapDatasCode = "18";
        //查询货架储位与物料批次关系 
        public const string queryPodBerthAndMatCode = "19";
        //仓位禁用与启用
        public const string blockStgBinCode = "20";
        //容器与仓位绑定、解绑
        public const string bindCtnrAndBinCode = "21";
        //绑定解绑通知
        public const string bindNotifyCode = "22";
        //区域清空
        public const string blockAreaCode = "23";
        //清空巷道路
        public const string clearRoadWayCode = "24";
        //料箱出库TPS
        public const string getOutPodCode = "25";
        //料箱回库TPS
        public const string returnPodCode = "26";
        //充电请求
        public const string chargeRequestCode = "27";
        //预调度
        public const string PreScheduleTask = "28";
        //提示灯
        public const string Promptlight = "98";
        //滚筒
        public const string RollerCode = "99";
        #endregion
    }
}
